package com.songxh.core.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author songxh
 * @create 2022-12-20-20:15
 */
@AllArgsConstructor
@Getter
public enum BizCodeEnum {

    USER_INFO_NOT_EXIST(10000, "用户信息不存在或已失效"),
    ERROR_PASSWORD(10001, "错误的密码信息"),
    ACCESS_TOKEN_IS_NULL(10002, "AccessToken为空"),
    ACCESS_TOKEN_EXPIRE(10003, "AccessToken过期，请重新获取"),
    ACCESS_TOKEN_AUTH_ERROR(10004, "AccessToken验证出错，错误信息：%s"),
    LOGOUT_ERROR_USER_NOT_EXIST(10005, "退出失败，用户不存在"),
    ;
    private final int code;

    private final String msg;
}
